package com.wuliu.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serializable;

/**
 * <p>
 * 
 * </p>
 *
 * @author express
 * @since 2022-03-05
 */
@Data
@EqualsAndHashCode(callSuper = false)
@ApiModel(value="ExLx对象", description="")
public class ExLx implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "联系人id")
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    @ApiModelProperty(value = "联系人姓名")
    private String lxName;

    @ApiModelProperty(value = "联系人电话")
    private String lxPhone;

    @ApiModelProperty(value = "联系人地址")
    private String address;

    @ApiModelProperty(value = "用户id")
    private Integer userId;

    @TableField(exist = false)
    private ExUser exUser;


}
